﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using KPIS.GERP.GIMS.MODEL;
using KPIS.GERP.GIMS.IBLL;
using KPIS.GERP.GIMS.IDAL;
using KPIS.GERP.GIMS.DALFactory;
using KPIS.DBM;

namespace KPIS.GERP.GIMS.BLL
{
    public class PrePurchaseRequestRejectBLL : IBLLPrePurchaseRequestReject
    {
        private static readonly IDALPrePurchaseRequestReject dal = DataAccess.CreatePrePurchaseRequestReject();

        public PrePurchaseRequestRejectBLL()
        {

        }

        public void Insert(PrePurchaseRequestRejectInfo info)
        {

        }

        public void Update(PrePurchaseRequestRejectInfo info)
        {

        }

        public void Delete(PrePurchaseRequestRejectInfo info)
        {

        }

        public IList<PrePurchaseRequestRejectInfo> GetHistoryReturned(int seq)
        {
            return dal.GetHistoryReturned(seq);
        }

        public void Insert(int PprSeq,DateTime RejectDate,string RejectReason,int RejectBySeq)
        {
            dal.Insert(PprSeq, RejectDate, RejectReason, RejectBySeq);
        }
    }
}
